//headers 
#include<algorithm>
#include<cassert>
#include<cstdio>
#include<deque>
#include<iostream>
#include<list>
#include<map>
#include<numeric>
#include<deque>
#include<set>
#include<string>
#include<sstream>
#include<stack>
#include<streambuf>
#include<vector>
using namespace std;

//macros
#define LET(x,a) typeof(a) x(a)
#define FOR(i,a,n) for(LET(i,a);i!=n;i++)
#define REP(i,n) FOR(i,0,n)
#define sz size()
#define pb push_back
#define ALL(x) x.begin(),x.end()
#define PRINT(x) REP(_,x.sz) cout<<x[_]<<" "; cout<<endl;
const int INF = (int) 1e8;
#define VI vector<int>
#define VS vector<string>
#define VVI vector< vector<int> >
#define PII pair<int,int>
#define VII vector< PII >
#define LL long long
#define mp make_pair


//code of suren

int main(){
  int n ; 
  while( cin >> n , n ){
    int sign,dir; sign = dir = 0;
    REP(i,n-1){
      string a;
      cin>>a;
      if(a=="No") continue;
      
      int ns,nd; 
      if(ans[0]=='+') ns=0; else ns=1; 
      if(ans[1]=='y') nd = 1; else nd = 2;
      
      if( dir == 
    }

    cout<<ans<<endl;
  }
  return 0;
}
